home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
DO1002.ARJ
/
FUNCTION.SCR
< prev
next >
Wrap
Text File
|
1991-12-22
|
1KB
|
40 lines
* SCRIPT: FUNCTION.SCR -- Other Functions
.pg wi full clr
/FRAME ~179 ~196 ~217 ~191 ~192 ~218
/BOX 20 1 60 20 11 7 ""
.bl
/DRAW V 61 2 21 0 ░
/DRAW H 21 21 61 0 ░
.wi 21 2 59 19 ye
O T H E R F U N C T I O N S
.wi 22 4 58 19
»%t«DO»#« contains other functions which
perform specialized tasks.
»wh«~064math»#« performs math functions
in a line like the
»%t«/MATH»#« command.
.pg -24
.wi full clr cy
FUNCTION NAME»gray«: »%t« Math »cy«
~064math({DateString})
/cw
Allows you to perform calculations in the middle of a a line.
The command allows all the functions contained in the »%t«Math»#«
command. See that command for a complete list of
capabilities.
Let's look at a couple of examples. Press »bo«<enter>»#« to execute
or display each line.
| Here is a calculation in the middle of a display line: »re«@math(5*10)»#«
|/SET V1 @math(100/5)
»cy«V1 »gy«= »wh«%V1»#«
|/SET V2 @math(5*%v1)
»cy«V2 »gy«= »wh«%V2»#«
/ENDEXEC CLEAR